<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');


/********************
* Loging
********************/
	function nLogs($argText){
		echo '<div class="nLog"><div class="nlogInner">'.$argText.'</div><span class="nlogClose">x</span></div>';
				//return date('o년 n월 j일, G시 i분 s초', $stamp);
	}

	function nPrt($argArray = array()){
		echo '<pre>';
		print_r(@$argArray);
		echo '</pre>';
	}

/********************
* Etc
********************/
	function nPhpEol(){
		$retVal = '
		';
		return $retVal;
	}



	function nlog($arg){
		if(is_array($arg)){
			$arg = print_r($arg, true);
		}
		log_message('error', $arg);
	}

	function getNowDate(){
		return date("Y-m-d", time());
	}

	function getNowTime(){
		return date("H:i:s", time());
	}